<?php
class IndexController extends Zendvn_Controller_Action
{
	public function init()
	{
	
		//Thiet dat duong dan Path den thu muc Template.Va lua chon Template duoc load cho Module
		$template_path=TEMPLATE_PATH."/public/system";
		$this->loadTemplate($template_path);
	
	
	}
	public function indexAction()
	{
		
		
		$category=new Admin_Model_Category();
	
		$this->view->productFeater=$this->productFeater();
		
	
	}
	public function productFeater() //Function nay khong phai la Action
	{
		$product = new Default_Model_Product();
		$pro=$product->getProductFeater();
		return $pro;
	}

	public function userAction()
	{
		 $styles = '
        ul.contact-form {
           list-style: none;
           margin-left: -10px;
        }
        ';
       
        $this->view->headStyle()->appendStyle($styles);
		$user= new Default_Form_User();
		return $user;
		
	}
	




}